using System;
using System.Collections.Generic;
using System.Text;

namespace EZCRS.HCMS.Entity
{
    public class hfg_org_domain
    {
        private int? _id;
        private int? _orgtype;
        private int? _orgid;
        private string _webdomain = String.Empty;
        private int? _noscroll;
        private string _css = String.Empty;
        private string _sloganresv = String.Empty;
        private string _sloganmod = String.Empty;
        private string _slogancxl = String.Empty;
        private string _slogannewresv = String.Empty;
        private string _emailfrom = String.Empty;
        private string _emailalias = String.Empty;
        private string _emailtitle = String.Empty;
        private string _ratecode = String.Empty;
        private int? _languagetype;
        private int? _scorevalid;
        private int? _scoretype;
        private bool _roomchange;
        private decimal _scoreratechg;
        private bool _scorebuy;
        private decimal _scoreratebuy;

        public hfg_org_domain()
        {
        }

        

        //protected void LoadFromReader(SqlDataReader reader)
        //{
        //    if (reader != null && !reader.IsClosed)
        //    {
        //        _id = reader.GetInt32(0);
        //        if (!reader.IsDBNull(1)) _orgtype = reader.GetInt32(1);
        //        if (!reader.IsDBNull(2)) _orgid = reader.GetInt32(2);
        //        if (!reader.IsDBNull(3)) _webdomain = reader.GetString(3);
        //        if (!reader.IsDBNull(4)) _noscroll = reader.GetInt32(4);
        //        if (!reader.IsDBNull(5)) _css = reader.GetString(5);
        //        if (!reader.IsDBNull(6)) _sloganresv = reader.GetString(6);
        //        if (!reader.IsDBNull(7)) _sloganmod = reader.GetString(7);
        //        if (!reader.IsDBNull(8)) _slogancxl = reader.GetString(8);
        //        if (!reader.IsDBNull(9)) _slogannewresv = reader.GetString(9);
        //        if (!reader.IsDBNull(10)) _emailfrom = reader.GetString(10);
        //        if (!reader.IsDBNull(11)) _emailalias = reader.GetString(11);
        //        if (!reader.IsDBNull(12)) _emailtitle = reader.GetString(12);
        //        if (!reader.IsDBNull(13)) _ratecode = reader.GetString(13);
        //        if (!reader.IsDBNull(14)) _languagetype = reader.GetInt32(14);
        //        if (!reader.IsDBNull(15)) _scorevalid = reader.GetInt32(15);
        //        if (!reader.IsDBNull(16)) _scoretype = reader.GetInt32(16);
        //        if (!reader.IsDBNull(17)) _roomchange = reader.GetBoolean(17);
        //        if (!reader.IsDBNull(18)) _scoreratechg = reader.GetDecimal(18);
        //        if (!reader.IsDBNull(19)) _scorebuy = reader.GetBoolean(19);
        //        if (!reader.IsDBNull(20)) _scoreratebuy = reader.GetDecimal(20);
        //    }
        //}

        
       
        #region Public Properties
        public int? Id
        {
            get { return _id; }
            set { _id = value; }
        }

        public int? orgtype
        {
            get { return _orgtype; }
            set { _orgtype = value; }
        }

        public int? orgid
        {
            get { return _orgid; }
            set { _orgid = value; }
        }

        public string webdomain
        {
            get { return _webdomain; }
            set { _webdomain = value; }
        }

        public int? noscroll
        {
            get { return _noscroll; }
            set { _noscroll = value; }
        }

        public string css
        {
            get { return _css; }
            set { _css = value; }
        }

        public string sloganresv
        {
            get { return _sloganresv; }
            set { _sloganresv = value; }
        }

        public string sloganmod
        {
            get { return _sloganmod; }
            set { _sloganmod = value; }
        }

        public string slogancxl
        {
            get { return _slogancxl; }
            set { _slogancxl = value; }
        }

        public string slogannewresv
        {
            get { return _slogannewresv; }
            set { _slogannewresv = value; }
        }

        public string emailfrom
        {
            get { return _emailfrom; }
            set { _emailfrom = value; }
        }

        public string emailalias
        {
            get { return _emailalias; }
            set { _emailalias = value; }
        }

        public string emailtitle
        {
            get { return _emailtitle; }
            set { _emailtitle = value; }
        }

        public string ratecode
        {
            get { return _ratecode; }
            set { _ratecode = value; }
        }

        public int? languagetype
        {
            get { return _languagetype; }
            set { _languagetype = value; }
        }

        public int? scorevalid
        {
            get { return _scorevalid; }
            set { _scorevalid = value; }
        }

        public int? scoretype
        {
            get { return _scoretype; }
            set { _scoretype = value; }
        }

        public bool roomchange
        {
            get { return _roomchange; }
            set { _roomchange = value; }
        }

        public decimal scoreratechg
        {
            get { return _scoreratechg; }
            set { _scoreratechg = value; }
        }

        public bool scorebuy
        {
            get { return _scorebuy; }
            set { _scorebuy = value; }
        }

        public decimal scoreratebuy
        {
            get { return _scoreratebuy; }
            set { _scoreratebuy = value; }
        }
        #endregion

       
    }
}
